package com.jxdinfo.hussar.cloud.module.example.lift.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zhangkai
 * @version 1.0.00 2023-08-04 14:13
 */
@ApiModel(description = "移动端-升降机告警详情DTO")
@Data
public class AppLiftNoticeDetailDto  {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "监测状态")
    private String monitorStatus;

    @ApiModelProperty(value = "升降机名称")
    private String liftName;

    @ApiModelProperty(value = "监测项")
    private String monitorItem;

    @ApiModelProperty(value = "测量值")
    private String measureValue;

    @ApiModelProperty(value = "预警规则")
    private  String warningRule;

    @ApiModelProperty(value = "预警值")
    private String warningValue;

    @ApiModelProperty(value = "报警规则")
    private String alarmRule;

    @ApiModelProperty(value = "报警值")
    private String alarmValue;

    @ApiModelProperty(value = "通知内容")
    private String noticeContent;

    @ApiModelProperty(value = "通知时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date noticeTime;

    @ApiModelProperty(value = "通知人员")
    private String noticePerson;

    public String getMonitorStatus() {
        return monitorStatus;
    }

    public void setMonitorStatus(String monitorStatus) {
        this.monitorStatus = monitorStatus;
    }

    public String getLiftName() {
        return liftName;
    }

    public void setLiftName(String liftName) {
        this.liftName = liftName;
    }

    public String getMonitorItem() {
        return monitorItem;
    }

    public void setMonitorItem(String monitorItem) {
        this.monitorItem = monitorItem;
    }

    public String getMeasureValue() {
        return measureValue;
    }

    public void setMeasureValue(String measureValue) {
        this.measureValue = measureValue;
    }

    public String getWarningRule() {
        return warningRule;
    }

    public void setWarningRule(String warningRule) {
        this.warningRule = warningRule;
    }

    public String getWarningValue() {
        return warningValue;
    }

    public void setWarningValue(String warningValue) {
        this.warningValue = warningValue;
    }

    public String getAlarmRule() {
        return alarmRule;
    }

    public void setAlarmRule(String alarmRule) {
        this.alarmRule = alarmRule;
    }

    public String getAlarmValue() {
        return alarmValue;
    }

    public void setAlarmValue(String alarmValue) {
        this.alarmValue = alarmValue;
    }

    public String getNoticeContent() {
        return noticeContent;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent;
    }

    public Date getNoticeTime() {
        return noticeTime;
    }

    public void setNoticeTime(Date noticeTime) {
        this.noticeTime = noticeTime;
    }

    public String getNoticePerson() {
        return noticePerson;
    }

    public void setNoticePerson(String noticePerson) {
        this.noticePerson = noticePerson;
    }
}
